package DBLag;

import ModelLag.WorkingPlan;
import java.util.ArrayList;
import java.util.GregorianCalendar;

/**
 * Interfaceklasse for DbWorkingPlan.
 * @author DM75 Gruppe 3
 * @version 2011-12-22
 */
public interface IFDbWorkingPlan {
    
    public WorkingPlan findWorkingPlan(GregorianCalendar date, String location, boolean retriveAssociation);
    
    public ArrayList<WorkingPlan> getAllWorkingPlans(boolean retriveAssociation);
    
    public int insertWorkingPlan(WorkingPlan workingPObj);
    
    public int deleteWorkingPlan(GregorianCalendar date, String location);
    
    public int getWorkingPlanID(GregorianCalendar date, String location);
    
    public ArrayList<String> EmployeesWhoAlreadyWorkInThisPeriod(GregorianCalendar date, String newShiftStart, String newShiftEnd);
    
    public ArrayList<WorkingPlan> getWorkingPlansMonthLoc(int month, int year, String searchLocation, boolean retriveAssociation);
}